const Router = require('koa-router')

const {
  register
} = require('../controller/user.controller')
const { validity, md5Pwd } = require('../middleware/user.middle')
const userRouter = new Router({ prefix: '/user' })
// 注册接口
userRouter.post('/', validity, md5Pwd, register, (ctx) => {
})
module.exports = userRouter

